﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ThueList.aspx.cs" Inherits="WebApplication.Admin.ThueList" MasterPageFile="~/Admin/Web.Master" %>
<asp:Content ContentPlaceHolderID="Header" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="maint" runat="server">
    <div style="float:right">
<asp:LinkButton runat="server" ID="lbtnthemmoi" CssClass="btn btn-info" 
              >Cập nhập</asp:LinkButton>
</div><br />
<div style="margin-top:25px;">
 <asp:GridView runat="server" ID="Grthue" 
        CssClass="table table-striped table-bordered table-hover" 
        AutoGenerateColumns="False" onrowcommand="Grthue_RowCommand" 
        onrowdatabound="Grthue_RowDataBound" AllowPaging="True" OnSelectedIndexChanging="Grthue_SelectedIndexChanging">
     <Columns>
     <asp:TemplateField HeaderText="STT">
      <ItemTemplate>
        <%# Container.DataItemIndex+1 %>
      </ItemTemplate>
     </asp:TemplateField>
         <asp:BoundField DataField="MATH" HeaderText="Mã thuế" />
         <asp:BoundField DataField="SOTHUE" HeaderText="Số thuế" />
         <asp:TemplateField HeaderText="Chức năng">
          <ItemTemplate>
            <asp:LinkButton runat="server" ID="lbtnsua" CommandName="lbtnsua" CommandArgument='<%#Bind("MATH") %>'><i class="icon-pencil bigger-130"></i></asp:LinkButton>
            <asp:LinkButton runat="server" ID="lbtnxoa" CommandName="lbtnxoa" CommandArgument='<%#Bind("MATH") %>' OnClientClick="return confirm('Bạn có muốn xóa không?');"><i class="icon-trash bigger-130 red"></i></asp:LinkButton>
          </ItemTemplate>
         </asp:TemplateField>
     </Columns>
 </asp:GridView>
</div>
</asp:Content>

